#!/usr/bin/env python
# -*- coding: utf-8 -*-

"""API路由定义"""

import logging
from fastapi import APIRouter

from app.api.endpoints import pdf, health

# 创建日志记录器
logger = logging.getLogger(__name__)

# 创建API路由器
api_router = APIRouter()

# 包含各个端点的路由
api_router.include_router(health.router, prefix="/health", tags=["健康检查"])
api_router.include_router(pdf.router, prefix="/pdf", tags=["PDF处理"])